package com.chezhujie.www.service;

import com.chezhujie.www.domain.Czjmember;
import com.chezhujie.www.persistence.CzjmemberMapper;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


/**
 * Created by 汤伟杰 on 2017/5/23.
 */
@Service
public class CzjmemberService {
    @Autowired
    private CzjmemberMapper czjmemberMapper;

    public Czjmember getLastTime(int userinfoId){
        return czjmemberMapper.getLastTime(userinfoId);
    }

    public void insert(Czjmember czjmember) {
        czjmemberMapper.insertCzjmember(czjmember);
    }
}
